package com.smart.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目文件任务请求模型")
public class ProjectFileTaskRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("文件名称")
    private String fileName;
    @ApiModelProperty("文件编号")
    private String fileCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("文件日期")
    private Date fileDate;
    @ApiModelProperty("文件序号")
    private Long fileNum;
    @ApiModelProperty("文件地址")
    private String fileUrl;
    @ApiModelProperty("文件状态 SEND已下发 REVOKE已撤销")
    private String fileStatus;
    @ApiModelProperty("文件编号/文件名称")
    private String keyWord;

    @ApiModelProperty("建设地点")
    private String streetCode;
    @ApiModelProperty("施工状态")
    private String projectStatus;
    @ApiModelProperty("状态 0未接收 1已接收")
    private Integer receiveStatus;
    @ApiModelProperty(name = "项目id集合: 数据库查询业务字段",hidden = true)
    private Set<Long> projectIds;
}
